package com.demo.component.base.model.communication;

import jakarta.annotation.Nullable;
import lombok.Getter;

@Getter
public class RequestResultData<T> extends RequestResult {
    private T resultData;

    public void setResultData(T resultData, String successMessage, @Nullable String internalStatus) {
        this.resultData = resultData;
        this.setSuccess(successMessage, internalStatus);
    }
}
